package video.background.Model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: background
 * @description:
 * @author: hlt
 * @create: 2023-08-08 14:24
 **/
@TableName("users")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户类")
public class Users {
    @TableId(type = IdType.AUTO)
    private Long userId;
    private String userName;
    @ApiModelProperty(value = "用户的性别，“0”表示女生，“1”表示男生")
    private char userGender;
    private String password;
    private String email;
    private String userIntroduction;
    private String trade; // 行业
    private String registerTime; // 注册时间
    @ApiModelProperty(value = "用户的头像地址")
    private String userAvatar;  // 用户的头像地址
    @ApiModelProperty(value = "用户的邮箱是否已经验证")
    private boolean isEmailVerify;  // 判断用户的邮箱是否已经验证
    private String verifyCode;   // 可能存在的验证码
    private String verifyCodeTime;  // 验证码的最后生成时间
    private int buildTeam; //用户现在可创建团队的数量
}
